<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
            width: 100px;
            background-color: pink;
            height: 100px;
        }
        .box2{
            width: 100px;
            background-color: black;
            height: 100px;
        }
        .box3 {
            width: 50px;
            height: 50px;
            /* float: right; */
            margin-right: 100px;
            background-color: aqua;
        }
        .box5{
            width: 1600px;
            height: 300px;
            text-align: justify;
            background-color: aquamarine;
        }
        .box6{
            display: inline-block;
            /* float: left; */
            width: 1000px;
            height: 300px;
            background-color: antiquewhite;
        }
        .box7{
            display: inline-block;
            /* float: right; */

            width: 500px;
            height: 300px;
            background-color: blueviolet;
        }
        .box8 {
            width: 100px;
            height: 50px;
            margin-left: calc(100% - 100px);
            background-color: antiquewhite;
        }
        .box9{
            display: inline-block;
        }

    </style>
</head>
<body>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3">this</div>
    <div class="box5">
        <div class="box6"></div>
        <div class="box7"></div>
        <div class="box9">123</div>

    </div>
    <div class="box8"></div>


</body>
</html>